package com.demo.bookstore.service;

import com.demo.bookstore.bean.Book;
import com.demo.bookstore.bean.Cart;

/**
 * @author ddone
 * @date 2024/3/16-12:30
 */
public interface CartService {
    int addCart(Cart cart,Book book);

    void deleteItemByBookId(Cart cart, String bookId);

    void updateCount(Cart cart, String bookId, String count);

    void setCartItems(Cart cart);
}
